package cn.enilu.flash.bean.entity.bus;

import cn.enilu.flash.bean.entity.BaseEntity;
import lombok.Data;
import org.hibernate.annotations.Table;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import java.util.Date;

@Entity(name="t_bus_repair")
@Table(appliesTo = "t_bus_repair",comment = "报修")
@Data
@EntityListeners(AuditingEntityListener.class)
public class Repair  extends BaseEntity {

    private String serviceAddress;

    private String repairType;

    private String intro;

    private String repairTime;

    private String contact;

    private String phone;

    private String state;

    private Long userId;

}
